package com.zhongshengnetwork.rightbe.dbmodel;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

/**
 * Created by GordonLjx on 2016/10/8.
 */
@Table(name = "shopcardb")
public class ShopCardbModel {
    @Column(name = "id",isId = true)
    private String id;//userid+goodsid
    @Column(name = "userid")
    private String userid;//普通商品就是用户的id,其他商品则是"用户id"+"1位商品类别"
    @Column(name = "goodsid")
    private String goodsid;
    @Column(name = "sailuuid")
    private String sailuuid;
    @Column(name = "sailid")
    private String sailid;
    @Column(name = "goodspic")
    private String goodspic;
    @Column(name = "goodsname")
    private String goodsname;
    @Column(name = "buycount")
    private String buycount;
    @Column(name = "leftcount")
    private String leftcount;
    @Column(name = "percharge")
    private String percharge;
    @Column(name = "buytime")
    private String buytime;
    @Column(name = "buystate")
    private String buystate;
    @Column(name = "type")
    private String type;//0-普通商品 1-限购商品 2-一次性商品 3-积分商品

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(String goodsid) {
        this.goodsid = goodsid;
    }

    public String getSailuuid() {
        return sailuuid;
    }

    public void setSailuuid(String sailuuid) {
        this.sailuuid = sailuuid;
    }

    public String getSailid() {
        return sailid;
    }

    public void setSailid(String sailid) {
        this.sailid = sailid;
    }

    public String getGoodspic() {
        return goodspic;
    }

    public void setGoodspic(String goodspic) {
        this.goodspic = goodspic;
    }

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname;
    }

    public String getBuycount() {
        return buycount;
    }

    public void setBuycount(String buycount) {
        this.buycount = buycount;
    }

    public String getLeftcount() {
        return leftcount;
    }

    public void setLeftcount(String leftcount) {
        this.leftcount = leftcount;
    }

    public String getPercharge() {
        return percharge;
    }

    public void setPercharge(String percharge) {
        this.percharge = percharge;
    }

    public String getBuytime() {
        return buytime;
    }

    public void setBuytime(String buytime) {
        this.buytime = buytime;
    }

    public String getBuystate() {
        return buystate;
    }

    public void setBuystate(String buystate) {
        this.buystate = buystate;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
